package com.qzdsoft.erpcloud.vo.sys;

import com.qzdsoft.erpcloud.domain.sys.SysTableAuth;
import com.qzdsoft.vo.sys.SysRoleStatus;

public class SysTableAuthInfo extends SysTableAuth {

	private String statusName;
	
	public String getStatusName() {
		switch(super.getStatus().toString()) {
		case SysRoleStatus.USERING_CODE:
			statusName = SysRoleStatus.USERING.getValue();
			break;
		case SysRoleStatus.FREE_CODE:
			statusName = SysRoleStatus.FREE.getValue();
			break;
		case SysRoleStatus.DEL_CODE:
			statusName = SysRoleStatus.DEL.getValue();
		}
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
}
